File manager - Edit - /home/autoph/public_html/projects/ahg-prf-api/app/Models/PayableOrders.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use OwenIt\Auditing\Contracts\Auditable; use OwenIt\Auditing\Auditable as AuditableTrait; class PayableOrders extends Model implements Auditable { use HasFactory,SoftDeletes, AuditableTrait; // protected $table = 'stock_receivings'; protected $guarded = [ 'deleted_at', ]; protected $casts = [ 'created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', ]; // public function str_dtl(){ // return $this->hasMany(StockReceivingDtl::class,'str_header_id','id')->select([ // 'id','str_header_id','dealer_id','prf_id','prf_dtl_id','canvass_id','asset_item_id','quantity','unit_cost','total_cost','quantity_received','quantity_balance' // ])->where('quantity_balance', '=', 0)->where('status', 1); // } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings